resourceHMPictItem
Type Definitions
hmDefaultOptions 0 use defaults
hmUseSubID 1 use subrange resource IDs for owned resources
hmAbsoluteCoords 2 ignore coords of window origin and treat upper
left corner of window as 0,0
hmSaveBitsNoWindow 4 don't create window; save bits; no update event
hmSaveBitsWindow 8 save bits behind window and generate update event
hmMatchInTitle 16 match window by string anywhere in title string
khmmString 1 Pascal string
khmmPict 2 'PICT' resource ID
khmmStringRes 3 'STR#' res ID and index
khmmTEHandle 4 styled text handle
khmmPictHandle 5 handle to a picture
khmmTERes 6 'TEXT' & 'styl' res ID
khmmSTRRes 7 'STR ' resource ID
kHMRegularWindow 0 don't save bits; just update
kHMSaveBitsNoWindow 1 save bits; don't do update
kHMSaveBitsWindow 2 save bits; do update event
kHMEnabledItem 0 enabled state for menu items; contrlHilite value
of 1 for controls
kHMDisabledItem 1 disabled state for menu items; contrlHilite value
of 0 for controls
kHMCheckedItem 2 enabled-and- checked state for menu items;
contrlHilite value of 1 for controls that are "on
kHMOtherItem 3 enabled-and-marked state for menu items;
contrlHilite value greater than 1 for controls
kHMMenuResType 'hmnu' menu help resource type
kHMDialogResType 'hdlg' dialog help resource type
kHMRectListResType 'hrct' rect help resource type
kHMOverrideResType 'hovr' help override resource type
kHMFinderApplResType 'hfdr' app icon help resource type
gestaltHelpMgrAttr 'help' Gestalt selector
gestaltHelpMgrPresent 0 if this bit is set, then Help Manager is present
hmBalloonHelpVersion 0x0002 Help Manager version
Help menu constants
kHMHelpMenuID -16490 Help menu res and menu ID
kHMAboutHelpItem 1 About Balloon Help menu item
kHMShowBalloonsItem 3 Show/Hide Balloons menu item
kHMHelpID -5696 ID of various Help Manager package resources
(in Pack14 range); also used for res ID for
'hfdr'/icon help
kBalloonWDEFID 126 res ID of standard balloon 'WDEF' function
Dialog item template type constant
HelpItem 1 key value in 'DITL' template that corresponds to
help item
Option bits for help resources
hmDefaultOptions 0 use help resource defaults
hmUseSubID 1 use subrange resource IDs for owned resources
hmAbsoluteCoords 2 ignore coords of window origin and treat
upper-left corner of window as 0,0
hmSaveBitsNoWindow 4 don't create window; save bits; no update event
hmSaveBitsWindow 8 save bits behind window and generate update
event
hmMatchInTitle 16 match window by string anywhere in title string
Constants for hmmHelpType field of HMMessageRecord
khmmString 1 Pascal string
khmmPict 2 'PICT' resource ID
khmmStringRes 3 'STR#' res ID and index
khmmTEHandle 4 styled text handle
khmmPictHandle 5 picture handle
khmmTERes 6 'styl' and 'TEXT' res ID
khmmSTRRes 7 'STR' resource ID
resource types for styled TE handles in resources
kHMTETextResType 'TEXT' 'TEXT' resource type
kHMTEStyleResType 'styl' 'styl' resource type
Generic defines for whichState parameter when extracting help
message records from 'hmnu' & 'hdlg' resources
kHMEnabledItem 0 enabled state for menu items; contrlHilite value
of 1 for controls
kHMDisabledItem 1 disabled state for menu items; contrlHilite value
of 0 for controls
kHMCheckedItem 2 enabled-and- checked state for menu items;
contrlHilite value of 1 for controls that are "on
kHMOtherItem 3 enabled-and-marked state for menu items;
contrlHilite value greater than 1 for controls
Resource types for whichType parameter used when extracting help
message content
kHMMenuResType 'hmnu' menu help resource type
kHMDialogResType 'hdlg' dialog help resource type
kHMWindListResType 'hwin' window help resource type
kHMRectListResType 'hrct' rectangle help resource type
kHMOverrideResType 'hovr' help override resource type
kHMFinderApplResType 'hfdr' app icon help resource type
Constants for method parameter in HMShowBalloon
kHMRegularWindow 0 don't save bits; just update
kHMSaveBitsNoWindow 1 save bits; don't do update
kHMSaveBitsWindow 2 save bits; do update event
Constants for help types in 'hmnu', 'hdlg', 'hrct', 'hovr', & 'hfdr'
resources--useful only for walking these resources
kHMStringItem 1 Pascal string
kHMPictItem 2 'PICT' resource ID
kHMStringResItem 3 'STR#' resource ID & index
kHMTEResItem 6 'TEXT' & 'styl' resource ID
kHMSTRResItem 7 'STR ' resource ID
kHMSkipItem 256 don't display a balloon
kHMCompareItem 512 for hmnu, use help content if menu item matches
string
kHMNamedResourceItem 1024 for hmnu, use menu item as a call to get resource
kHMTrackCntlItem 2048 reserved